.box {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.logo {
  flex: 0 0 auto;
  padding: 12px 12px 8px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  > img {
    flex: 0 0 24px;
    height: 24px;
    border-radius: 4px;
  }
  > div {
    flex: 0 0 auto;
    margin-left: 8px;
    font-weight: bold;
    animation: show var(--ant-motion-duration-mid);
    @keyframes show {
      0% {
        margin-left: 0;
        width: 0;
      }
    }
  }
  > span {
    flex: 1 1;
    overflow: hidden;
    text-align: right;
  }
}
.main {
  flex: 1 1;
  overflow: hidden;
}
.trigger {
  flex: 0 0 36px;
  border-top: 1px solid #dbdfe9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.menu {
  height: 100%;
  overflow: auto;
  padding: 0 8px;
  border: none !important;
  &:not(:hover) {
    &::-webkit-scrollbar,
    &::-webkit-scrollbar-thumb {
      background-color: transparent !important; // 保持占位
    }
  }
}
